package com.minxin.springboot;

import org.springframework.boot.Banner;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.builder.SpringApplicationBuilder;

@SpringBootApplication
public class SpringbootApplication {

	public static void main(String[] args) {
//		SpringApplication.run(SpringbootApplication.class, args);
		//修改Banner的模式为OFF
		SpringApplicationBuilder builder = new SpringApplicationBuilder(SpringbootApplication.class);
		builder.bannerMode(Banner.Mode.OFF).run(args);
	}
}
